package Interfaz;

import java.awt.Color;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.IOException;

import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.border.CompoundBorder;
import javax.swing.border.EmptyBorder;
import javax.swing.border.LineBorder;
import javax.swing.border.TitledBorder;

public class PanelEncabezado extends JPanel{
	
	 //-----------------------------------------------------------------
    // Atributos de la Interfaz
    //-----------------------------------------------------------------

    /**
     * Etiqueta donde se muestra la imagen1
     */
    private JLabel labImagenPostfix;
    
	//-----------------------------------------------------------------
    // Constructores
    //-----------------------------------------------------------------

    /**
     * Construye el Encabezado
     */
    public PanelEncabezado( )
    {
    	
    	FlowLayout layout = new FlowLayout( );
        layout.setHgap( 0 );
        layout.setVgap( 0 );
        setLayout( layout );

          //Carga la imagen
          ImageIcon icono = new ImageIcon( "data/PostfixEval.gif" );

          //La agrega a la etiqueta
          labImagenPostfix = new JLabel( "" );
          labImagenPostfix.setIcon( icono );
          add( labImagenPostfix );
          
          //Color de fondo blanco
          setBackground( Color.WHITE );
          setBorder( new LineBorder( Color.GRAY ) );
    }
}

